package com.example.springbott.service;

import com.example.springbott.bean.MarketCoupon;
import com.example.springbott.bean.MarketCouponUser;
import com.example.springbott.bo.CreateCouponBo;
import com.example.springbott.bo.UpdateCouponBo;
import com.example.springbott.vo.CreateCouponVo;
import com.example.springbott.vo.MarketCouponVo;
import com.example.springbott.common.CommonData;

import java.util.Date;

public interface MarketCpService {
    CommonData<MarketCoupon> selectCoupon(Integer page, Short limit, String name, Short type, Short status,String sort, String order);

     MarketCoupon createCoupon(MarketCoupon marketCoupon);

    void deleteCoupon(MarketCoupon marketCoupon);

    MarketCoupon updateCoupon(MarketCoupon marketCoupon);

    MarketCoupon readCoupon(Integer id);
}
